#ifndef __OC_CubeMapShadowMapFrameBuffer_H__
#define __OC_CubeMapShadowMapFrameBuffer_H__

#include "shaderClass.h"

namespace OCPP
{
	class _openGLExport CubeMapShadowMapFrameBuffer
	{
	public:
		CubeMapShadowMapFrameBuffer(int width, int height);
		~CubeMapShadowMapFrameBuffer();
		void bind();
		void unbind();

		void draw();

		uint32 shadowMap;
	private:
		uint32 width, height;
		uint32 framebufferTexture;
		uint32 rectVAO;
		uint32	ID;
	};
}

#endif // !__OC_WINDOW_H__
